package com.cmwa.scbp.business.infodisclosure.investReport.service;

import java.io.IOException;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.cmwa.scbp.base.mvc.entity.Page;
import com.cmwa.scbp.base.mvc.entity.SearchParam;
import com.cmwa.scbp.business.infodisclosure.investReport.entity.InvestReportVo;
import com.cmwa.scbp.sys.attach.entity.AttachVo;
/**
 * 投资者报告表业务接口层
 * 
 * @author ex-zhengqq
 * @date 2019-01-23 13:37:22
 */
public interface InvestReportService {
	public void insertInvestReport(InvestReportVo investReport);
	
	public void physicDeleteInvestReportById(String id);
	
	public void logicDeleteInvestReportById(String id);
	
	public void updateInvestReportById(InvestReportVo investReport);
	
	public InvestReportVo getInvestReportById(String investRepId);
	
	public List<InvestReportVo> getInvestDataAttachById(String ids);
	
	public List<InvestReportVo> getInvestFileAttachById(String ids);
	
	public List<AttachVo> getInvestAttach(String investRepId,String investUploadType);
	
	public Page<InvestReportVo> investReportListPage(SearchParam sp);
	
	public void addAttachRel(String attIdStr,String investUploadType, String investRepId);
	
	public List<Map<String, String>> countReportData(SearchParam param);
	
	public List<Map<String, String>> countReportSize(SearchParam param);
	
	public List<InvestReportVo> getInvestByType(String reportType,String reprotDateBgn,String reprotDateEnd);
	
	public void downloadAttachZip(String investRepIds,String investUploadType,String downType,HttpServletResponse response,HttpServletRequest request) throws IOException;
}
